//
//  SreenRankView.h
//  ZiJinLian
//
//  Created by 🐛 on 2017/4/24.
//  Copyright © 2017年 lzy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIView+Extension.h"

@protocol ScreenRankDelegate <NSObject>
@required
-(void)selectBtnTitle:(NSString *)title andBtn:(UIButton *)btn andArray:(NSMutableArray *)array;

@end

@interface SreenRankView : UIView

@property(nonatomic, copy  )NSString * title;
@property(nonatomic, strong)NSArray  * rankArray;
@property(nonatomic, strong)UIButton * selectBtn;
@property(nonatomic, strong)UIButton * btn;
@property(nonatomic, strong)UIView   * packView;
@property(nonatomic, strong)UIView   * btnView;
@property(nonatomic, strong)NSArray  * rankIDArray;
// 是否重置
@property(nonatomic, assign)NSString *  isReset;

@property(nonatomic, strong)NSMutableArray  * reslutArray;
@property(nonatomic,weak)id<ScreenRankDelegate> delegate;

-(void)setBtnstatue:(UIButton *)btn;

-(instancetype)initWithTitle:(NSString *)title titleArr:(NSArray *)titleArr idArr:(NSArray *)idArr andFrame:(CGRect)frame;


@end
